<table cellpadding="9" cellspacing="0">
<tr valign="top">
    <td align="right">block_filtered_course_list_adminview:</td>
    <td>
    <input name="block" type="hidden" value="<?php echo intval($_REQUEST['block']); ?>" />
    <select name="block_filtered_course_list_adminview">
     <option value="all" <?php if(isset($CFG->block_filtered_course_list_adminview)){ 
     if($CFG->block_filtered_course_list_adminview == "all"){ echo "selected=\"selected\"";}
     }else{
         echo "selected=\"selected\"";
     }?>     
     ><?php p(get_string('allcourses', 'block_filtered_course_list')) ?></option>
     <option value="own" <?php if(isset($CFG->block_filtered_course_list_adminview)){ 
         if($CFG->block_filtered_course_list_adminview == "own"){ echo "selected=\"selected\""; }
     }?>
     ><?php p(get_string('owncourses', 'block_filtered_course_list')) ?></option>
    </select>
    </td>
    <td>
    <?php print_string("configadminview", "block_filtered_course_list") ?>
    </td>
</tr>
<tr valign="top">
    <td align="right">block_filtered_course_list_title:</td>
    <td>
      <input type="text" name="block_filtered_course_list_title" size="40"
        value="<?php echo isset($CFG->block_filtered_course_list_title) ? \
          $CFG->block_filtered_course_list_title : \
          ''?>"/>
    </td>
</tr>
<tr>
    <td colspan="3" align="center">
    <input type="submit" value="<?php print_string("savechanges") ?>" /></td>
</tr>
</table>
